#ifndef CBUILDING_H

#define CBUILDING_H

#include "Struct.h"

class CBuilding
{
public :
					CBuilding(void);
	virtual			~CBuilding(void);
	virtual	void	Put(void)				= 0;
	virtual void	buildingUpgrade(void)	= 0;

	virtual int		GetX(void)				= 0;

			void	buildingInvincible(void);
			void	Hit(int const _nDamage);
			void	healing(void);

			bool	GetState(void);

			int		GetY(void);
			int		GetLevel(void);

protected :
	int		m_nHP;
	int		m_nDef;
	int		m_nX;
	int		m_nY;
	int		m_nState;
	int		m_nInvincivleFinalTime;
	int		m_nNowTime;
	int		m_nInvincibleTime;
	int		m_nMaxHP;
	int		m_nBuildingLevel;
	int		m_nAddHP;
};

#endif